package com.sdweizan.sdk.bytedance.bean.payment.general;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseRequest;
import java.util.List;

import com.sdweizan.sdk.bytedance.constants.BdConstants;
import lombok.Builder;
import lombok.Data;

/***
 * 履约状态请求
 */

@Data
@Builder
public class BdGeneralFulfillStatusRequest implements BdBaseRequest {

  /** 通用交易系统侧订单号，长度 <= 64 byte * */
  @JSONField(name = "order_id")
  private String orderId;

  /** 通用交易系统item单号，每个单号的长度 <= 64 byte 注：可通过订单查询接口获得 * */
  @JSONField(name = "item_order_id_list")
  private List<String> itemOrderIdList;

  /** 目标状态，详细枚举值见下文描述* */
  @JSONField(name = "to_status")
  private String toStatus;

  @Override
  public String requestUri() {
    return BdConstants.OPEN_HOST + "/api/trade_basic/v1/developer/fulfill_push_status";
  }
}
